﻿////////////////////////////////////////////////////////////////////////////
//
//  Immense Engine Source File.
//  Copyright (C), Indloon 2012
// -------------------------------------------------------------------------
//  File name:   ieCommon.h
//  Description: Header file of everything
//  Created:     8/12/2012 Genert Org
//  Compilers:   Visual C++ 2010 Express
// -------------------------------------------------------------------------
//  History:
//
////////////////////////////////////////////////////////////////////////////
#ifndef __IMMENSEENGINE_H
#define __IMMENSEENGINE_H
#pragma once

#include "iePlatform.h"

#pragma warning(disable : 4244) // warning C4244: '=' : conversion from 'int' to 'float', possible loss of data

/*  1. D E F I N E S
	=========================================================================== */

#ifndef NULL
  #define NULL ((void*)0)
#endif

#ifdef BIT
  #undef BIT
#endif
#define BIT( x ) ( 1 << x )

#ifdef ALIGN
  #undef ALIGN
#endif
#define ALIGN( size, bytes )			(((size) + ((bytes) - 1)) & ~((bytes) - 1))

#ifndef TRUE
  #define TRUE 1
#endif

#ifndef FALSE
  #define FALSE 0
#endif

#define true 1
#define false 0
#define bool int


/*  2. M A I N   H E A D E R S
	=========================================================================== */ 

#include "ieMath.h"
#include "ieMathRandom.h"
#include "ieMathVector4.h"
#include "ieMathVector3.h"
#include "ieMathVector2.h"
#include "ieMathColor.h"
#include "ieMathMatrices.h"
#include "ieMathRect.h"

#include "ieString.h"
	
#endif // __IMMENSEENGINE_H